package Test;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        System.out.println("请输入您的姓名");
        String Name =s.next();

        System.out.println("请输入您的身高(m)");
        double d1 = s.nextDouble();

        System.out.println("请输入您的体重(kg)");
        double d2 = s.nextDouble();

        double Bmi = d2/(d1*d1);
        System.out.println(Name+"您的肥胖指数为："+Bmi);
    }
}
